package com.ruoyi.web.controller.persion.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@TableName("user_favorite_seed")
public class Favorite extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long favoriteId;
    
    private Long userId;
    
    @Excel(name = "种子ID")
    private Long seedId;
    
    @Excel(name = "状态", readConverterExp = "0=正常,1=删除")
    private String status;

    // Getters and Setters
    public Long getFavoriteId() {
        return favoriteId;
    }

    public void setFavoriteId(Long favoriteId) {
        this.favoriteId = favoriteId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSeedId() {
        return seedId;
    }

    public void setSeedId(Long seedId) {
        this.seedId = seedId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("favoriteId", getFavoriteId())
            .append("userId", getUserId())
            .append("seedId", getSeedId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}